package com.mall4j.cloud.coupon.model;

import com.mall4j.cloud.api.coupon.constant.CouponTypeEnum;

import java.time.LocalDateTime;

/**
 * 用户优惠卷
 * @author ljh
 */
public class UserCoupon {
    private int id;
    private int couponConfigId;
    private long userId;
    private LocalDateTime createTime;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String name;
    private int couponType;
    private long value;
    private long minPrice;
    private String orderId;
    private long curValue;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCurValue() {
        return curValue;
    }

    public void setCurValue(long curValue) {
        this.curValue = curValue;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public long getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(long minPrice) {
        this.minPrice = minPrice;
    }

    public int getCouponConfigId() {
        return couponConfigId;
    }

    public void setCouponConfigId(int couponConfigId) {
        this.couponConfigId = couponConfigId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCouponType() {
        return couponType;
    }

    public void setCouponType(int couponType) {
        this.couponType = couponType;
    }
}
